Add missing global $wgOut;
authorSam Reed <reedy@users.mediawiki.org>
Sat, 24 Jul 2010 19:09:51 +0000 (19:09 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Sat, 24 Jul 2010 19:09:51 +0000 (19:09 +0000)
includes/specials/SpecialConfirmemail.php

index 3cfbded..088ba78 100644 (file)
@@ -146,6 +146,7 @@ class EmailInvalidation extends UnlistedSpecialPage {
                $this->setHeaders();
 
                if ( wfReadOnly() ) {
+                       global $wgOut;         
                        $wgOut->readOnlyPage();
                        return;
                }